{extend name="admin/layout" /}
{block name="main"}
<div class="container-fluid main-content">
    <div class="row">
        <div class="col-lg-12">
            <ul class="breadcrumb">
                <li>
                    <a href="/"><i class="icon-home"></i></a>
                </li>
                <li>
                    <a href="{:url('index')}">管理后台</a>
                </li>
                <li class="active">
                    价格配置
                </li>
            </ul>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="widget-container fluid-height clearfix">
                <div class="heading">
                    <i class="icon-reorder"></i>价格配置
                </div>
                <div class="widget-content padded">
                    <form method="post" class="form-horizontal">
                        {volist name="list" id="tool"}
                        <div class="form-group">
                            <label class="col-lg-3 control-label">{$tool.name}</label>
                            <div class="col-lg-8">
                                <input type="number" name="price_tid_{$tool.tid}" class="form-control" value="{:config('zz_price_tid_'.$tool.tid)}">
                            </div>
                        </div>
                        {/volist}

                        <div class="form-group">
                            <div class="col-lg-offset-3 col-lg-8">
                                <button class="btn btn-primary" type="submit">保存配置</button>
                                <button class="btn btn-default-outline" type="reset">重置</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}
